<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css优先级</title>
</head>
<body>
    <h1>!important</h1>
    <h2>行内样式style=""</h2>
    <h3>id选择器</h3>
    <h4>类选择器，伪类选择器</h4>
    <h5>元素选择器</h5>
    <h6>继承或*</h6>
</body>
</html>